<!--  -->
<template>
  <div class="pages">
      <div class="pages-title">你好ts</div>
      <div class="pages-title-link">
         <router-link to="DemoPagesOne">页面一</router-link>
        <router-link to="DemoPagesTwo">页面二</router-link>
      </div>
      <router-view class="pages-title"></router-view>
  </div>

</template>

<script lang="ts" setup>
import {ref} from 'vue'
let num=ref("12")

 

</script>
<style lang='less' scoped>
.pages{
  width: 1200px;
  margin: 0 auto;
  //background-color: red;
  .pages-title{
    margin: 0 auto;
    width: 60px;
  }
  .pages-title-link{
     margin: 0 auto;
    width: 120px;
  }
}
</style>